﻿using JshRCSWebApi.Infrastructure;
using JshRCSWebApi.Infrastructure.Domain.DTO.SysService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JshRCSWebApi.Service.SysService
{
    public interface DepartmentService
    {
        public Task<ApiResult> AddDepartment(DepartmentAddDTO addDTO, int v);
        public Task<ApiResult> DeleteDepartment(int ID);
        public Task<ApiResult> GetDepartmentList(DepartmentSearchDTO searchDTO);
        public Task<ApiResult> GetDepartmentListByMutiCondtion(DepartmentSearchByConditionDTO searchDTO);
        public Task<ApiResult> GetDepartmentNameAndIDList();
        public Task<ApiResult> SelectDepartmentManager(int sdid);
        public Task<ApiResult> SelectDepartmentUser(int sdid);
        public Task<ApiResult> UpdateDepartment(DepartmentUpdateDTO updateDTO,int UID);
    }
}
